package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 池子设备管理对象 eq_pool
 * 
 * @author ruoyi
 * @date 2023-11-21
 */
public class EqPool extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 池子名称 */
    @Excel(name = "池子名称")
    private String equipmentName;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private Integer equipmentType;

    /** 池子深度(厘米) */
    @Excel(name = "池子深度(厘米)")
    private Long totDepth;

    /** 液位计上限(厘米) */
    @Excel(name = "液位计上限(厘米)")
    private BigDecimal measurementUp;

    /** 液位计下限(厘米) */
    @Excel(name = "液位计下限(厘米)")
    private BigDecimal measurementLow;

    /** 时间设置(天) */
    @Excel(name = "时间设置(天)")
    private Integer timeOut;

    /** 进口阀门状态(实时) */
    @Excel(name = "进口阀门状态(实时)")
    private Integer inletValve;

    /** 出口阀门状态(实时) */
    @Excel(name = "出口阀门状态(实时)")
    private Integer outletValve;

    /** 当前液位高度(实时)厘米 */
    @Excel(name = "当前液位高度(实时)厘米")
    private BigDecimal currentAltitude;

    /** 沉淀开始时间(实时) */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "沉淀开始时间(实时)", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date effectiveTime;

    /** 水泵状态 */
    @Excel(name = "水泵状态")
    private Integer pumpStatus;

    /** 报警浮球状态 */
    @Excel(name = "报警浮球状态")
    private Integer ballStatus;

    /** 辐射值 */
    @Excel(name = "辐射值")
    private String b1;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private Integer b2;

    /** 备用 */
    @Excel(name = "备用")
    private String b3;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEquipmentName(String equipmentName) 
    {
        this.equipmentName = equipmentName;
    }

    public String getEquipmentName() 
    {
        return equipmentName;
    }
    public void setEquipmentType(Integer equipmentType) 
    {
        this.equipmentType = equipmentType;
    }

    public Integer getEquipmentType() 
    {
        return equipmentType;
    }
    public void setTotDepth(Long totDepth) 
    {
        this.totDepth = totDepth;
    }

    public Long getTotDepth() 
    {
        return totDepth;
    }
    public void setMeasurementUp(BigDecimal measurementUp) 
    {
        this.measurementUp = measurementUp;
    }

    public BigDecimal getMeasurementUp() 
    {
        return measurementUp;
    }
    public void setMeasurementLow(BigDecimal measurementLow) 
    {
        this.measurementLow = measurementLow;
    }

    public BigDecimal getMeasurementLow() 
    {
        return measurementLow;
    }
    public void setTimeOut(Integer timeOut) 
    {
        this.timeOut = timeOut;
    }

    public Integer getTimeOut() 
    {
        return timeOut;
    }
    public void setInletValve(Integer inletValve) 
    {
        this.inletValve = inletValve;
    }

    public Integer getInletValve() 
    {
        return inletValve;
    }
    public void setOutletValve(Integer outletValve) 
    {
        this.outletValve = outletValve;
    }

    public Integer getOutletValve() 
    {
        return outletValve;
    }
    public void setCurrentAltitude(BigDecimal currentAltitude) 
    {
        this.currentAltitude = currentAltitude;
    }

    public BigDecimal getCurrentAltitude() 
    {
        return currentAltitude;
    }
    public void setEffectiveTime(Date effectiveTime) 
    {
        this.effectiveTime = effectiveTime;
    }

    public Date getEffectiveTime() 
    {
        return effectiveTime;
    }
    public void setPumpStatus(Integer pumpStatus) 
    {
        this.pumpStatus = pumpStatus;
    }

    public Integer getPumpStatus() 
    {
        return pumpStatus;
    }
    public void setBallStatus(Integer ballStatus) 
    {
        this.ballStatus = ballStatus;
    }

    public Integer getBallStatus() 
    {
        return ballStatus;
    }
    public void setB1(String b1) 
    {
        this.b1 = b1;
    }

    public String getB1() 
    {
        return b1;
    }
    public void setB2(Integer b2) 
    {
        this.b2 = b2;
    }

    public Integer getB2() 
    {
        return b2;
    }
    public void setB3(String b3) 
    {
        this.b3 = b3;
    }

    public String getB3() 
    {
        return b3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipmentName", getEquipmentName())
            .append("equipmentType", getEquipmentType())
            .append("totDepth", getTotDepth())
            .append("measurementUp", getMeasurementUp())
            .append("measurementLow", getMeasurementLow())
            .append("timeOut", getTimeOut())
            .append("inletValve", getInletValve())
            .append("outletValve", getOutletValve())
            .append("currentAltitude", getCurrentAltitude())
            .append("effectiveTime", getEffectiveTime())
            .append("pumpStatus", getPumpStatus())
            .append("ballStatus", getBallStatus())
            .append("b1", getB1())
            .append("b2", getB2())
            .append("b3", getB3())
            .toString();
    }
}
